<%--
  Created by IntelliJ IDEA.
  demo6.User: 周安妮
  Date: 2025/11/11
  Time: 21:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>session作用域测试</title>
</head>
<body>
<%
  // 向session作用域存数据
  session.setAttribute("sessionMsg", "我在当前浏览器会话内都有效");
%>
<h3>session作用域的值：${sessionScope.sessionMsg}</h3>
<a href="applicationScope.jsp">跳转到applicationScope.jsp</a>
</body>
</html>
